<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
${aier_doctype}
<html <s:property value="aier_html_xmlns" escape="false"/>>
<head>
<meta http-equiv="Content-Type" content="${aier_content_type}" />
<meta name="keywords" content="${aier_keyworks}" />
<meta name="description" content="${aier_description}" />
<title>${aier_title}</title>

<link rel="Stylesheet" href="${aier_css_url}jq/jq.css" />
<link rel="Stylesheet" href="${aier_css_url}jq/multiselect.css" />
<link rel="stylesheet" href="${aier_css_url}jc/chosen.css">
<link rel="stylesheet" href="${aier_css_url}social/user/userreg/login.css">


<script type="text/javascript" src="${aier_js_url}j.js"></script>
<script type="text/javascript" src="${aier_js_url}b.js"></script>
<script type="text/javascript" src="${aier_js_url}${aier_jqui_js}ui.js"></script>
<script type="text/javascript" src="${aier_js_url}97/WdatePicker.js"></script>
<script type="text/javascript" src="${aier_js_url}jp/msg.js"></script>
<link rel="stylesheet" href="${aier_css_url}social/module/jq-msg.css" />
<script type="text/javascript" src="${aier_js_url}jq/cn.js"></script>
<script type="text/javascript" src="${aier_js_url}jq/jq.js"></script>
<script type="text/javascript" src="${aier_js_url}lib/ja.js"></script>
<script type="text/javascript" src="${aier_js_url}jc/cj.js"></script>
<script type="text/javascript" src="${aier_js_url}lib/block.js"></script>
<script type="text/javascript" src="${aier_js_url}jq/multiselect.js"></script>
</head>
<body class="view-login">

	<div class="layer-bg"></div>
	<div class="layer-content">
		<div class="wrap">
		    <div style="position: absolute;right: 10px;top: 10px;color: #19A3C7;"><span>爱儿360官方网站_国内最先进幼儿园安全管理系统</span></div>
			<div class="header">
				<div class="header-logo" title="爱儿360"></div>
				<div class="header-slogan" title="中国领先的爱宝宝社交网络">中国领先的爱宝宝社交网络</div>
				<div class="header-nav">
					<span><a href="${aier_url}${aier_uri}userregindex.shtml">注册</a></span>
					<span>|</span>
					<span><a href="#">给我们提建议</a></span>
				</div>
			</div>
			<!-- /header -->
			<div class="banner">
				<div class="banner-picture" title="收看爱儿产品介绍">
				    <div style="position:absolute;left:-60px;top:300px;width:150px;height:25px;font-size: 16px;font-weight: bold;">爱儿360下载</div>
					<div class="home-qrcode-ipa" style="position:absolute;left:-40px;top:330px;width:150px;height:150px;">
						<img src="${aier_img_url}qrcode/1.png" style="width:150px;height:150px;">
						<p style="text-align:center;">iphone客户端/ios客户端</p>
					</div>
					<div class="home-qrcode-apk" style="position:absolute;left:130px;top:330px;width:150px;height:150px;">
						<img src="${aier_img_url}qrcode/2.png" style="width:150px;height:150px;">
						<p style="text-align:center;">android客户端</p>
					</div>
				</div>
                <div class = "banner-text">
                    <a target="_blank" href="${aier_url}${aier_uri}userhomecomm_channel${aier_suffix}">收看爱儿产品介绍</a>
                </div>
				<!-- login -->
				<div class="banner-login">
					<div class="banner-login-form">
						<div class="input-item">
							<label for="phoneNumber">手机号码</label>
							<div class="input-area clearfix">
								<input type="text" name="phoneNumber" id="phoneNumber" onkeypress="jumpPassword(event)" placeholder="请输入手机号码">
								<label for="phoneNumber" class="input-icon"><i class="icon-phone"></i></label>
							</div>	
						</div>
						<div class="input-item">
							<label for="password">密码</label>
							<div class="input-area clearfix">
								<input type="password" name="password" id="password" onkeypress="jumpLogin(event)" placeholder="请输入密码">
								<label for="password" class="input-icon"><i class="icon-lock"></i></label>
							</div>
						</div>
						<div class="pswhelp clearfix">
							<div class="pswhelp-remember">
								<input id="rememberPwd" name="rememberPwd" type="checkbox"><label for="rememberPwd">记住密码</label>
							</div>
							<div class="pswhelp-forget">
								<a href="${aier_url}${aier_uri}retpwd_identitiesVerify${aier_suffix}" class="">忘记密码？</a>
							</div>
						</div>
						<div class="submit">
							<a class="btn btn-orange-4 btn-login" href="javascript:void(0);" id="regNow" onclick="user_login();"><span>登&nbsp;陆</span></a>
						</div>
					</div>
					
				</div>
				<!-- /login -->

			</div>
			<!-- /banner -->
			<div class="footer">
				<div class="footer-register">
					<a href="${aier_url}${aier_uri}userregindex.shtml" title="注册">注册</a>
				</div>
				<div class="footer-nav">
					<span><a href="#">关于我们</a></span>
					<!--<span><a target="_blank" href="${aier_url}${aier_uri}userhomecomm_channel${aier_suffix}">通道门禁</a></span>-->
					<span>|</span>
					<span><a href="#">英才加盟</a></span>
					<span>|</span>
					<span><a href="#">合作伙伴</a></span>
					<span>|</span>
					<span><a href="#">联系我们</a></span>
					<span>|</span>
					<span><a href="#">法律声明</a></span>
				</div>
				<div class="footer-copyright">
					<span>
						&copy;&nbsp;2013&nbsp;致行物联网版权所有&nbsp;苏ICP备：13007215号-2
					</span>

				</div>

			</div>
		</div> 
		<!-- /wrap -->

	</div>
	<!-- /content -->







<script type="text/javascript">

$().ready(function(){
	$('#phoneNumber').focus();
});

	function jumpPassword(event) {
		var keycode = event.keyCode || event.which;
		if (keycode == 13) {
			$('#password').focus();
		} else {
			return false;
		}
	}

	function jumpLogin(event) {
		var keycode = event.keyCode || event.which;
		if (keycode == 13) {
			user_login();
		} else {
			return false;
		}
	}


	function user_login(){
		var account = $("#phoneNumber").val();
		var pwd = $("#password").val();
		var rememberMe = $('#rememberPwd').attr("checked") == "checked";
		if(account==""||pwd==""){
			$().message("请输入用户名密码");
			return
		}

		var fun = function(data) {
			if(data.s==1){
				window.location.href = "${aier_url}${aier_uri}userhomeforums_homeForums${aier_suffix}";
			}else{
				$().message("登陆失败"+data.error_info);
			}
		};
		exeAjax(ajaxUrl("${aier_url}${aier_urijs}userlogindex_login${aier_suffix}"), fun, {
			"account" : account,
			"pwd" : pwd,
			"rememberMe" : rememberMe
		});
	}







	function check_phone(phone){
		var regu = /^[1]([3-8][0-9]{1}|59|58|88|89)[0-9]{8}$/;
		var isphone = regu.exec(phone);
		if(isphone!=null){
			return "true";
		}else{
			return "fasle";					
		}			
	}

</script>
</body>
</html>